package com.wellsfargo.bm;

public class Node {

	Node left;
	Node right;
	Node parent;
	int value;
	int leftNodes;
	int rightNodes;
	
	Node(){
		
	}
	
	Node(int value){
		this.value=value;
		this.left=null;
		this.right=null;
		this.parent=null;
	}

	public Node getLeft() {
		return left;
	}

	public void setLeft(Node left) {
		this.left = left;
	}

	public Node getRight() {
		return right;
	}

	public void setRight(Node right) {
		this.right = right;
	}

	public Node getParent() {
		return parent;
	}

	public void setParent(Node parent) {
		this.parent = parent;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public int getLeftNodes() {
		return leftNodes;
	}

	public void setLeftNodes(int leftNodes) {
		this.leftNodes = leftNodes;
	}

	public int getRightNodes() {
		return rightNodes;
	}

	public void setRightNodes(int rightNodes) {
		this.rightNodes = rightNodes;
	}
	
}
